import App from './App'
import pinia from './store'  //1、此处引入

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
import { Tag, Tab, Tabs } from 'vant-green';


Vue.use(Tag).use(Tab).use(Tabs);
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
  ...App
})


app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
   app.use(pinia)  //2、在app中use一下pinia
  return {
    app
  }
}
// #endif